<div class="container">
    <ul class="clearfix">
        <#list pageInfo.list as dest>
            <li class="item">
                <div class="img">
                    <a href="/destination/guide?id=${dest.id}" target="_blank"><img height="200" width="320"
                                                                                    src="${(dest.coverUrl)!}"
                                                                                    style="display: inline;">
                        <div class="title">${dest.name}</div>
                    </a>
                </div>
                <div class="info">
                    <p class="detail">${(dest.info)!}</p>
                    <div class="hot">
                        <span class="label">TOP3</span>
                        <#if dest.scenics ??>
                        <#list dest.scenics as s>
                            <a href="/cityScenic/detail?id=${(s.id)!}" target="_blank">${(s.scenicName)!}</a>
                            <span class="divide"></span>
                        </#list>
                        </#if>
                    </div>

                    <div class="line"><a href="/destination/travelPath" target="_blank"><em>1</em>${dest.name}新晋网红5日线路</a></div>
                </div>
            </li>
        </#list>
    </ul>
    <div style="float: right">
        <div style="float: left;" ><span style="line-height:30px"> 共${pageInfo.pages}页 / ${pageInfo.total}条&nbsp;&nbsp;&nbsp;</span></div>
        <div id="pagination" class="jq-pagination" style="display: inline;"></div>
        <button type="button" id="prevPage">上一页</button>
        <button type="button" id="nextPage">下一页</button>
    </div>
    <script>
        $(function () {
            $("#prevPage").click(function () {
                $("#currentPage").val(${pageInfo.pageNum} - 1);
                doWork();
            })
            $("#nextPage").click(function () {
                var num = $("#currentPage").val()
                $("#currentPage").val(${pageInfo.pageNum} + 1);
                doWork();
            })
        })
    </script>

</div>